﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class subtraction:Calculate
    {
        public subtraction(int a ,int b) 
        {
            this.a = a;
            this.b = b;
        
        }
        public override void DisplayResult()
        {
            
            int sum;
            sum = this.a - this.b;
            Console.WriteLine(sum);
        }
    }
}
